<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
	    <base href="<%=basePath%>">
	    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	    <title>苍南港星徽章</title>
	    <link href="front/css/index.css" rel="stylesheet" type="text/css" />
    </head>
    
    <body>
    	
		<div id="container">
   		
    		<!-- 头部 -->	
    		<s:action name="fnavList_find" executeResult="true"></s:action>
        	
        	<!--页面主体-->
        　　		<div id="PageBody">
        		
        		<s:action name="fprodList_find" executeResult="true"></s:action>
				<!--主体内容-->
				<div id="MainBody">　　　　		
					<span class="h2">产品中心----【<s:property value="nav.title" />】</span>
					<div id="prodList">
						<ul>
							<s:iterator value="imageVoList" id="ivl">
								<li>
						        	<a href="fimageByImageId_find.action?image.imageId=<s:property value='#ivl.imageId' />">
						            	<img src="<s:property value='#ivl.imageSavePath' />" width="150px" height="100px" />
						                <span><s:property value='#ivl.imageTitle' /></span>
						     		</a>
						 		</li>
							</s:iterator>
							
				        </ul>
				                    
						
				    </div>
				    <div id="prod_page">
				    	 共<s:property value="pageCount" />页  第<s:property value="pageNo" />页

						<s:if test="%{pageNo-1>0}">
							<a href="fimageListByNav_find.action?nav.navId=<s:property value='nav.navId' />&pageNo=<s:property value='pageNo-1' />">
						</s:if>
						上一页
						<s:if test="%{pageNo-1>0}">
							</a>
						</s:if>
						
						<s:if test="%{pageNo+1<=pageCount}">
							<a href="fimageListByNav_find.action?nav.navId=<s:property value='nav.navId' />&pageNo=<s:property value='pageNo+1' />">
						</s:if>
						下一页
						<s:if test="%{pageNo+1<=pageCount}">
						</a>
						</s:if>
						
						<a href="fimageListByNav_find.action?nav.navId=<s:property value='nav.navId' />&pageNo=<s:property value='pageCount' />" title="跳转到末页">&nbsp;末页</a>
				    </div>
				</div>
                <div id="right_con">
                    <s:action name="fnewsList_find" executeResult="true"></s:action>
                    <s:include value="/WEB-INF/front/contact.jsp"></s:include>  
             	</div>
      		</div>
       	
        	<!-- 页面底部 -->
        	<s:include value="/WEB-INF/front/foot.jsp"></s:include>
            
        </div>

    </body>
</html>
